<?php
include('includes/functions.php');
$event = get_event($_GET['day'],$_GET['month'],$_GET['year'],$_GET['slug']);
$title = $event['title'];
$url = "http://www.gwstudentassociation.com/" . $date . "/" . $event['slug'] . "/";
$url = getSmallLink($url);
$message = str_replace(" ","+","$title - $url");
header("Location: http://www.twitter.com?status=$message");
?> 